import  xlrd

xlsx=xlrd.open_workbook('e:/Test/test.xlsx')
table=xlsx.sheet_by_index(0)
nrows=table.nrows
print(f'nrows={nrows}')
